﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
' ItemTooltip classes contributed by Lukan Schwigtenberg (sepai69@gmail.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowArmory.Item.Tooltip

    ''' <summary>
    ''' A class that encapsulates a required skill for a set
    ''' </summary>
    ''' <remarks></remarks>
    Public Class SetRequiredSkill

        ''' <summary>
        ''' The name of the required skill
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Name As String

        ''' <summary>
        ''' The minimum skill level of the required skill
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property SkillLevel As Integer

        ''' <summary>
        ''' Unknown Blizzard property, likely to indicate if the person wearing it has the required skill to activate the bonuses
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property HasSkill As Boolean

        ''' <summary>
        ''' A constructor to create new required skill information
        ''' </summary>
        ''' <param name="strName"></param>
        ''' <param name="intRank"></param>
        ''' <param name="blnHasSkill"></param>
        ''' <remarks></remarks>
        Public Sub New(ByVal strName As String, ByVal intRank As Integer, ByVal blnHasSkill As Boolean)
            Name = strName
            SkillLevel = intRank
            HasSkill = blnHasSkill
        End Sub

    End Class

End Namespace
